﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<style>
.menubj{background:url(/web/images/menu<%=menu%>.gif); height:43px;}
</style>
<div id="menu" class="menubj">
     <li  class="mainlevel" reft="1"  href="index.jsp"><a  id="m1"  class="on"></a></li>
     <li class="mainlevel" reft="2" href="products.jsp"><a  id="m2" ></a>
	 <ul class="nav">
			<li><a href="display.jsp?m=2&iid=209&cid=170&left=1" >产品架构</a></li>
			<li><a href="display.jsp?m=2&iid=212&cid=171&left=1&acid=147" >中间件产品</a></li>
		  </ul>
	 </li>
     <li class="mainlevel"  reft="3" href="scheme.jsp" ><a  id="m3" ></a>
	 <ul class="nav">
			<li><a href="scheme.jsp" >方案&案例概述</a></li>
			<li><a href="anli.jsp?cid=161&m=3&left=21" >成功案例</a></li>
			<li><a href="anli.jsp?cid=163&m=3&left=21" >SOA案例</a></li>
			<li><a href="anli.jsp?cid=162&m=3&left=21" >行业解决方案</a></li>
		  </ul>
	 </li>
     <li class="mainlevel"  reft="4" href="service.jsp"><a  id="m4" ></a>
	 <ul class="nav">
			<li><a href="service.jsp" >服务概述</a></li>
			<li><a href="display.jsp?iid=198&left=27&m=4" >支持服务</a></li>
				<li><a href="display.jsp?iid=199&left=27&m=4" >咨询服务</a></li>
				<li><a href="download.jsp" >下载服务</a></li>
				<li><a href="msg.jsp" >留 言 板</a></li>
		  </ul>
	 </li>
     <li class="mainlevel" reft="5" href="customers.jsp"><a  id="m5" ></a>
	 <ul class="nav">
			<li><a href="display.jsp?iid=195&left=41&m=5" >总裁致词</a></li>
			<li><a href="display.jsp?iid=197&left=41&m=5" >用 户</a></li>
			<li><a href="display.jsp?iid=196&left=41&m=5" >渠 道</a></li>
		  </ul>
	 </li>
     <li class="mainlevel" reft="6" href="job.jsp"><a  id="m6" ></a>
	 <ul class="nav">
	 	
			<li><a href="display.jsp?iid=204&left=48&m=6" >社会招聘</a></li>
			<li><a href="display.jsp?iid=205&left=48&m=6" >校园招聘</a></li>
			<li><a href="display.jsp?iid=206&left=48&m=6" >职业成长</a></li>
			 <li><a href="display.jsp?iid=207&left=48&m=6">人在东方通</a></li>
		  </ul>
	 </li>
     <li class="mainlevel" reft="7" href="about.jsp"><a  id="m7" ></a>
	 <ul class="nav">
			<li><a href="about.jsp" >公司介绍</a></li>
			<li><a href="display.jsp?iid=211&left=52&m=7" >联系我们</a></li>
			<li><a href="anli.jsp?cid=3&m=7&left=52">新闻中心</a></li> 
			<li><a href="display.jsp?iid=208&left=52&m=7">价值文化</a></li> 
			<li><a href="display.jsp?iid=194&left=52&m=7" >发展与荣誉</a></li>
		  </ul>
	 </li></div>
<script type="text/javascript">
 var menubj="<%=menu%>";
$(document).ready(function(){
  $('li.mainlevel').mousemove(function(){
     var val=$(this).attr("reft");
	 for(var i=1;i<=7;i++){$("#m"+i).removeClass("on");}
	 $("#m"+val).addClass("on");
	 str="url("+rooturl+"images/menu"+val+".gif)"
	 $("#menu").css({"background":str});
  $(this).find('ul').slideDown();//you can give it a speed
  });
  $('li.mainlevel').mouseleave(function(){
    var val=$(this).attr("reft");
	 $("#m"+menubj).addClass("on");
	 str="url("+rooturl+"images/menu"+menubj+".gif)"
	 $("#menu").css({"background":str});
   $(this).find('ul').slideUp("fast");
  });
  $('li.mainlevel').click(function(){
    var v=$(this).attr("href");
	window.location.href=v;
  });
});


function menuNav(stat,v){
		  var str;
		  for(var i=1;i<=7;i++){$("#m"+i).removeClass("on");}
		  if(stat){
		  $("#m"+v).addClass("on");
		    str="url("+rooturl+"images/menu"+v+".gif)"
			$("#menu").css({"background":str});
		  }else{
		  $("#m"+menubj).addClass("on");
		   str="url("+rooturl+"images/menu"+menubj+".gif)"
		  $("#menu").css({"background":str});
		  }
}
</script>